package msu.ml.core.xml;

import msu.ml.core.*;
import msu.ml.data.*;
import javax.xml.parsers.*;
import org.w3c.dom.*;

/**
 * @author Reginald M Mead
 * @version 1.0
 */
public class AbsoluteValuePreProcessorParser 
   implements IPreProcessorParser
{
	public IDataPreProcessor parse(Element element)
   {
      AbsoluteValuePreProcessor processor = new AbsoluteValuePreProcessor();

      String column = element.getAttribute("attribute");
      processor.setAttribute(column);

		if(ApplicationSettings.getInstance().getConfig("verbose").equals("true"))
		{
			System.out.println("Absolute Value Pre Processor");
			System.out.println("\t Attribute =  " + column);
		}

      return processor;
   }
}
